using System;
using System.Collections.Generic;
using System.Text;

namespace Atom.Core
{
  public class ThumbnailEntry
  {
    private string url;

    public string Url
    {
      get { return url; }
      set { url = value; }
    }

    private int height;

    public int Height
    {
      get { return height; }
      set { height = value; }
    }

    private int width;

    public int Width
    {
      get { return width; }
      set { width = value; }
    }

    public ThumbnailEntry(string _url, string _h, string _w)
    {
      this.Url = _url;
      int i = 0;
      int.TryParse(_h, out i);
      this.Height = i;
      i = 0;
      int.TryParse(_w, out i);
      this.Width = i;
    }

  }
}
